//
// Created by zhouyi on 2019-10-12.
//


#include "learnString/include/LearnString.h"

char *createHelloStr() {
    char *pHello = 0;
    pHello = malloc(10);
    strcpy(pHello, "Hello C ~");
    return pHello;
}

struct IPV4Address *createIPV4() {
    struct IPV4Address *address;
    address = malloc(sizeof(struct IPV4Address));
    address->ip = "12.12.12.12";
    address->host = 12;
    address->host = 5011;
    address->subnet = "255.255.255.255";
    return address;
};






